#ifndef GA_RUNNER_H
#define GA_RUNNER_H

using namespace std;

#include <vector>
#include "Runner.h"
#include "..\GA\Coder.h"
#include "..\GA\Crossover.h"
#include "..\GA\Mutate.h"
#include "..\GA\Selector.h"
#include "..\GA\Survive.h"
#include "..\Evaluate\Evaluate.h"
#include "..\CoverageTable.h"

class GARunner: public Runner
{
////////operations while applying genetic algorithm////////////
	Crossover *crossover;
	Mutate *mutate;
	Survive *survive;
///////////////////////////////////////////////////////////////

public:
	GARunner(double pc, double pm,int iterNum, CoverageTable *ct);
	~GARunner();
	virtual int run(vector<vector<int>>&, vector<int>&);
};

#endif